package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_SCREEN_DUTY_NOTICE_LIST")
@ApiModel(value = "大屏-提醒清单表")
public class ScreenDutyNoticeList extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "排序")
    @TableField(value = "SORT")
    @JsonProperty(value = "sort")
    private Long sort;

    @ApiModelProperty(value = "展示标题")
    @TableField(value = "TITLE")
    @JsonProperty(value = "title")
    private String title;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_PERSON_NO")
    @JsonProperty(value = "createPerson")
    private String createPerson;

    @ApiModelProperty(value = "$column.comments")
    @TableField(value = "NOTICE_TYPE")
    @JsonProperty(value = "noticeType")
    private String noticeType;

    @ApiModelProperty(value = "数据状态")
    @TableField(value = "STATUS")
    @JsonProperty(value = "status")
    private String status;

    @ApiModelProperty(value = "主体内容")
    @TableField(value = "MAIN_BODY")
    @JsonProperty(value = "mainBody")
    private String mainBody;

    @ApiModelProperty(value = "$column.comments")
    @TableField(value = "START_TIME")
    @JsonProperty(value = "startTime")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "$column.comments")
    @TableField(value = "END_TIME")
    @JsonProperty(value = "endTime")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "是否提醒：1. 是；0.否")
    @TableField(value = "IS_MSG")
    @JsonProperty(value = "isMsg")
    private String isMsg;

    @ApiModelProperty(value = "短信发送人，JSON")
    @TableField(value = "SMS_SEND_PERSON")
    @JsonProperty(value = "smsSendPerson")
    private String smsSendPerson;

    @ApiModelProperty(value = "关区GUID，源自H4A")
    @TableField(value = "CUSTOM_ID")
    @JsonProperty(value = "customId")
    private String customId;

    @ApiModelProperty(value = "关区中文名称")
    @TableField(value = "CUSTOM_ID")
    @JsonProperty(value = "customId")
    private String customName;

}
